#!/bin/bash
trackerpath=$1
cp /etc/fdfs/tracker.conf.sample /etc/fdfs/tracker.conf 
sed -i "s#base_path = /home/yuqing/fastdfs#base_path = $trackerpath#g" /etc/fdfs/tracker.conf
